/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Medicamentos;

import com.sun.xml.internal.bind.v2.model.core.ID;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author Davi
 */
@Entity
@Table(name = "medicamento")
public class Medicamento implements Serializable{
    
    @Column (nullable=false)
    @GeneratedValue
    @Id
    
    private int id;
    
    @Column
    private String nome;
    
    @Column
    private String laboratorio;
    
    @Column
    private String cnpj;

    
}
